<%--
    Document   : mantenimientoFacultad
    Created on : 08/06/2009, 07:00:12 PM
    Author     : WILLIAM GASTAÑUEDI
--%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<%@taglib prefix="r" uri="http://richfaces.ajax4jsf.org/rich" %>

<script language="javascript" src="../js/funciones.js"></script>
<link href="/colegiatura/Estilos/estilosEsymons.css" rel="stylesheet" type="text/css" />

<f:view>
<h:form id="frmNewFac">
<table width="600" border="0">
  <tr>
    <td colspan="7" align="center" class="texto3">
        <h:outputLabel value="Mantenimiento de Facultad" styleClass="texto3"/>
    </td>
  </tr>
  <tr>
    <td colspan="4"><h:outputLabel value="Registrar Nueva Facultad" styleClass="texto12" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td width="47">&nbsp;</td>
    <td width="150" align="left">&nbsp;</td>
    <td width="82">&nbsp;</td>
    <td width="66">&nbsp;</td>
    <td width="69">&nbsp;</td>
    <td width="60">&nbsp;</td>
    <td width="80">&nbsp;</td>
  </tr>
  <tr>
    <td height="24">&nbsp;</td>
    <td width="150" align="left">
       <h:outputLabel value="Universidad :" styleClass="texto20" /></td>
    <td colspan="4" align="left">
        <h:selectOneMenu value="#{facultadController.facultad.universidad}" styleClass="fondo012">
            <f:selectItem itemLabel="-----Universidad-----" />
            <f:selectItems value="#{universidadController.selectListaItem}" />
     </h:selectOneMenu></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td width="150" align="left">
      <h:outputLabel value="Nombre :" styleClass="texto20" /> </td>
    <td colspan="3" align="left">
        <h:inputText value="#{facultadController.facultad.facNombre}" size="45" styleClass="fondo012" /></td>
    <td></td>
    <td>&nbsp;</td>
  </tr>   
  <tr><td colspan="7" height="15" ></td></tr>
  <tr>
    <td>&nbsp;</td>
    <td width="150" align="left"></td>
    <td colspan="2" align="right">
        <h:commandButton action="#{facultadController.grabar}" value="Guardar" styleClass="enlace9" /></td>
    <td colspan="3" align="center">
         <h:commandButton action="ir_a_listar" value="Cancelar" styleClass="enlace9" /></td>
    </tr>  
</table>
</h:form>
</f:view>